MySQLDatabase.GetInsertID Function
Returns as an Integer the value of the AUTOINCREMENT field for the last row that was inserted.
Syntax
result = MySQLDatabase.GetInsertID( )
Return Value
Result
Integer